<?php

namespace App\Master\Enum;

use Illuminate\Support\Facades\Config;

class MenuEnum
{
    private string $currentItems = 'currentItems';
    private string $layoutsLeftMenuEvent = 'layoutsLeftMenuEvent';

    public function __construct()
    {
        $key = md5(Config::get('app.key'));
        $this->currentItems = "{$this->currentItems}_$key";
        $this->layoutsLeftMenuEvent = "{$this->layoutsLeftMenuEvent}_$key";
    }

    public function getCurrentItems(): string
    {
        return $this->currentItems;
    }

    public function getLayoutsLeftMenuEvent(): string
    {
        return $this->layoutsLeftMenuEvent;
    }
}
